package com.springmvc.platform.manage.service.impl;

import com.springmvc.platform.manage.domain.SysUser;
import com.springmvc.platform.manage.mapper.SysUserMapper;
import com.springmvc.platform.manage.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhouhong 用户服务层
 * @create 2017/10/5
 * @modify
 */
@Service
public class SysUserServiceImpl implements SysUserService {
    @Autowired
    private SysUserMapper sysUserMapper;

    public SysUser queryUserByLoginName(String loginName) {
        return sysUserMapper.selectUserByLoginName(loginName);
    }
}
